<?php
return [
	// 应用命名空间
	'app_namespace' => 'app',
	// 应用调试模式
	'app_debug' => false,
	// 应用Trace
	'app_trace' => false,
	// 应用模式状态
	'app_status' => '',
	// 是否支持多模块
	'app_multi_module' => true,
	// 入口自动绑定模块6
	'auto_bind_module' => false,
	// 注册的根命名空间
	'root_namespace' => [],
	// 扩展函数文件
	'extra_file_list' => [APP_PATH.'inter'.EXT, THINK_PATH . 'helper' . EXT],
	// 默认输出类型
	'default_return_type' => 'html',
	// 默认AJAX 数据返回格式,可选json xml ...
	'default_ajax_return' => 'json',
	// 默认JSONP格式返回的处理方法
	'default_jsonp_handler' => 'jsonpReturn',
	// 默认JSONP处理方法
	'var_jsonp_handler' => 'callback',
	// 默认时区
	'default_timezone' => 'PRC',
	// 是否开启多语言
	'lang_switch_on' => false,
	// 默认全局过滤方法 用逗号分隔多个
	'default_filter' => 'htmlspecialchars,addslashes,strip_tags,trim',
	// 默认语言
	'default_lang' => 'zh-cn',
	// 应用类库后缀
	'class_suffix' => false,
	// 控制器类后缀
	'controller_suffix' => false,

	// +----------------------------------------------------------------------
	// | 模块设置
	// +----------------------------------------------------------------------

	// 默认模块名
	'default_module' => 'admin',
	// 禁止访问模块
	'deny_module_list' => ['common'],
	// 默认控制器名
	'default_controller' => 'Index',
	// 默认操作名
	'default_action' => 'index',
	// 默认验证器
	'default_validate' => '',
	// 默认的空控制器名
	'empty_controller' => 'Error',
	// 操作方法后缀
	'action_suffix' => '',
	// 自动搜索控制器
	'controller_auto_search' => false,

	// +----------------------------------------------------------------------
	// | URL设置
	// +----------------------------------------------------------------------

	// PATHINFO变量名 用于兼容模式
	'var_pathinfo' => 's',
	// 兼容PATH_INFO获取
	'pathinfo_fetch' => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'],
	// pathinfo分隔符
	'pathinfo_depr' => '/',
	// URL伪静态后缀
	'url_html_suffix' => 'html',
	// URL普通方式参数 用于自动生成
	'url_common_param' => true,
	// URL参数方式 0 按名称成对解析 1 按顺序解析
	'url_param_type' => 0,
	// 是否开启路由
	'url_route_on' => true,
	// 路由使用完整匹配
	'route_complete_match' => false,
	// 路由配置文件（支持配置多个）
	'route_config_file' => ['route'],
	// 是否强制使用路由
	'url_route_must' => false,
	// 域名部署
	'url_domain_deploy' => false,
	// 域名根，如thinkphp.cn
	'url_domain_root' => '',
	// 是否自动转换URL中的控制器和操作名
	'url_convert' => true,
	// 默认的访问控制器层
	'url_controller_layer' => 'controller',
	// 表单请求类型伪装变量
	'var_method' => '_method',
	// 表单ajax伪装变量
	'var_ajax' => '_ajax',
	// 表单pjax伪装变量
	'var_pjax' => '_pjax',
	// 是否开启请求缓存 true自动缓存 支持设置请求缓存规则
	'request_cache' => false,
	// 请求缓存有效期
	'request_cache_expire' => null,

	// +----------------------------------------------------------------------
	// | 模板设置
	// +----------------------------------------------------------------------

	'template' => [
		// 模板引擎类型 支持 php think 支持扩展
		'type' => 'Think',
		// 模板路径
		'view_path' => '',
		// 模板后缀
		'view_suffix' => 'html',
		// 模板文件名分隔符
		'view_depr' => DS,
		// 模板引擎普通标签开始标记
		'tpl_begin' => '{',
		// 模板引擎普通标签结束标记
		'tpl_end' => '}',
		// 标签库标签开始标记
		'taglib_begin' => '{',
		// 标签库标签结束标记
		'taglib_end' => '}',
	],

	// 视图输出字符串内容替换
	'view_replace_str' => [],
	// 默认跳转页面对应的模板文件
	'dispatch_success_tmpl' => THINK_PATH . 'tpl' . DS . 'dispatch_jump.tpl',
	'dispatch_error_tmpl' => THINK_PATH . 'tpl' . DS . 'dispatch_jump.tpl',

	// +----------------------------------------------------------------------
	// | 异常及错误设置
	// +----------------------------------------------------------------------

	// 异常页面的模板文件
	'exception_tmpl' => THINK_PATH . 'tpl' . DS . 'think_exception.tpl',

	// 错误显示信息,非调试模式有效
	'error_message' => '页面错误！请稍后再试～',
	// 显示错误信息
	'show_error_msg' => false,
	// 异常处理handle类 留空使用 \think\exception\Handle
	'exception_handle' => '',

	// +----------------------------------------------------------------------
	// | 日志设置
	// +----------------------------------------------------------------------

	'log' => [
		// 日志记录方式，内置 file socket 支持扩展
		'type' => 'File',
		// 日志保存目录
		'path' => LOG_PATH,
		// 日志记录级别
		'level' => [],
	],

	// +----------------------------------------------------------------------
	// | Trace设置 开启 app_trace 后 有效
	// +----------------------------------------------------------------------
	'trace' => [
		// 内置Html Console 支持扩展
		'type' => 'Html',
	],

	// +----------------------------------------------------------------------
	// | 缓存设置
	// +----------------------------------------------------------------------

	'cache' => [
		// 驱动方式
		'type'   => 'Redis',
		// 缓存保存目录
	 //   'path' => CACHE_PATH,
		// 缓存前缀
        'prefix' => '',
		// 缓存有效期 0表示永久缓存
		'expire' => 3600,
	],

	// +----------------------------------------------------------------------
	// | 会话设置
	// +----------------------------------------------------------------------

	'session' => [
		'id' => '',
		// SESSION_ID的提交变量,解决flash上传跨域
		'var_session_id' => '',
		// SESSION 前缀
		'prefix' => 'think',
		// 驱动方式 支持redis memcache memcached
		'type' => '',
		// 是否自动开启 SESSION
		'auto_start' => true,
	],

	// +----------------------------------------------------------------------
	// | Cookie设置
	// +----------------------------------------------------------------------
	'cookie' => [
		// cookie 名称前缀
		'prefix' => '',
		// cookie 保存时间
		'expire' => 0,
		// cookie 保存路径
		'path' => '/',
		// cookie 有效域名
		'domain' => '',
		//  cookie 启用安全传输
		'secure' => false,
		// httponly设置
		'httponly' => '',
		// 是否使用 setcookie
		'setcookie' => true,
	],

	//分页配置
	'paginate' => [
		'type' => 'bootstrap',
		'var_page' => 'page',
		'list_rows' => 15,
	],
	'jg_cj_appKey'=>'ad4c69348c1da26259b84aff',//极光的key
	'jg_cj_masterSecret'=>'9a1f09fab1bce6bda68fb63d',//极光的secret
	'jg_cn_appKey'=>'40f9ed7bee276837f70fc443',//极光的key
	'jg_cn_masterSecret'=>'235c22c0522ac12df9e3b310',//极光的secret
 //   'jg_user_appKey'=>'1481c3f149c1d1fb33c528b8',//极光的key
	'jg_user_appKey'=>'d7ec9dc23d4f7e34be33e4e3',//极光的key
   // 'jg_user_masterSecret'=>'4cf2e0566ef8781f555fb9ca',//极光的secret
	'jg_user_masterSecret'=>'aec42dc1c4552c6e2e8bffc0',//极光的secret
	//高德地图KEY
	'GD' => '725bf21994679b3f4fcc1093003c7401',//高德web服务
	'GD_WEB' => '455420bce40f113a7ce5717684609891',//高德web端
	//私钥
	"private" => '-----BEGIN PRIVATE KEY-----
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCqGF6H0sGIPR3u
ZgRQGP2mHU8hDN+1m7bXw+xveZOttVNxCci6tHRbfaLJ1NwBtQYy1UPzAJukC2EJ
xL7+VdSnYk8/1ehz6aV9aUZUctigr5I/dYUfbM5SOUV4UlkKhzflC2n2A+9UozIE
ZhhlP6TerJ9s61yvVDFz5bsAPZTsac9FaEvbIjLKAHO4wxcyzHj/tb1Pk2oxHC5x
83o0CNtjfAuzkCQ3rxQuCUjKDDZLLTyeSBmE7yjXMgI+WbPqqdKUo7FVxihieg7p
wWLF2WFfaW78NgUWJeQihOygzTlKxy1x305ik3LEsikkc7VkLwebFn7fuvVcZhdJ
WPaI8GltAgMBAAECggEBAImPJbwAdOWCT9eCB5DjdRbHczwOVklgAfHjEC5jC0yb
bTzopb5gvA1VwLYrgDWdOcMYeFhosHZtgW/N/oxfy5gGyIKestwzI9QVtHwNWSYy
dzr9BskQTJdwm78gEcSS8GA659m++unfBU9LZgVUADjZMCF9ArsEgu3w51fddbfu
1HsceVl1pLXMc5eCpoXRhjW3Fg1Ca7hQE1OAfASsAXgf9wljf1hnQHU6Lv6bEASy
qnvXALmlnH/B6XdZ83r1sA7jcDd5loQmCtfIT4VlnptBY4Uf2QzGHOf+TcxAGLJA
XSxg6x29Jk6QKNGdsQppGa32SNcKVBddBB7q++K+nuECgYEA2tzmt4EeIvuVFdPV
1CNKN1MZ8rqlB9QEDUTFPLDAA3UbSq2jVA2TKZOdGkApxresq7Cepn2jPBARb2PS
bif2Go2u0CL7gtIPOhuUIgcCDcU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qMRwucfN6NAjb
Y3wLs5AkN68ULglIygw2Sy08nkgZhO8o1zICPlmz6qnSlKOxVcYoYnoO6cFixdlh
X2lu/DYFFiXkIoTsoM05Ssctcd9OYpNyxLIpJHO1ZC8HmxZ+37r1XGYXSVj2iPBp
bQIDAQAB
-----END PUBLIC KEY-----",
//*****rong 12-27
	//汽车状态
	'CAR_STATUS'=>array('1'=>'营运中','2'=>'排队中','3'=>'等客中','4'=>'休息中'),
	'ORDER_STATUS'=>array('0'=>'待付款','10'=>'已取消','20'=>'退款中','25'=>'退款成功','30'=>'已付款','35'=>'已派单','40'=>'已上车','45'=>'已下车','50'=>'已完成'),
  
	'CANCEL_TIME'=>'900',//900秒系统自动取消
	'BAIDU_AK'=>'krpRabwTbl5USgdhwH5gj5lQDeW0SVAt',//krpRabwTbl5USgdhwH5gj5lQDeW0SVAt

    //微信支付
	'wechatPay'=>array(
		"appid"=> "wx91803e794e97fb65",
		"mch_id"=>"1493811712",
		"key"=>"DSFERDSSFR24344sfsfDwfrw34dsfsdf",
		"secret"=>"ef27d4c1db2e5acd18b0a9ee1e546d08",
		"sslcert_path"=>ROOT_PATH."/public/wx_cert/apiclient_cert.pem",
		"sslkey_path"=>ROOT_PATH."/public/wx_cert/apiclient_key.pem",
	),
    //支付宝支付
	'aliPay'=>array(
		"appId"=> "2018011601899476",
		"rsaPrivateKey"=>'MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCBt9BvmOCxDNxkj1iVsduOIOrj6ZjL9KP+yAXTHoXznzMGyqhk4YvcUPmAll7LFtY0R9X7kQZLsf09sU+OjL41r1+LCcZz7EIQoSkTdqsUKaWjOCbav8AvuEVKV/FxEMoAJrFoxgugFlDrUR5/26B7J8sGRLiAbSbEHushlNo3xqcP7rCDZsFDnUYSgujA20WAHKxut1jw6DJFYlwlzoQZ280sOU+RDHW3FcyqSSP4Fggv1w/Nmplxth17SsRt4vCJG0xvxNsXlPpCUlphbN8wMF19n0vLq9p1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OT_PATH.'/public/ali_cert/alipayPublicKey.txt',
	),

	'CUSTOMER_SERVICE_PHONE'=>'15555657222',//客服电话
	'CESHI_NUM'            =>['17333201319','13956401444','18075070729','18096674262','18305511884','18205514418','15055197528'],
	//**********修改的key表-字段
	'ADMIN_EDIT'=>array(
					'inter_driver'=>array(
										'driver_phone',
									),
					'inter_car_list'=>array("car_plate","car_color","car_brand","car_model","owner","seats"),
					'inter_car_tran'=>array("engine_id","vin"),
					'xm_driver'=>array("driver_phone","vin"),
					'xm_car_info'=>array("car_plate","car_type","car_brand","car_model","color","owner","taxi_license_number","company","license_number","frame_number","car_vin","vin","seats"),
				),
    'driverDataUserId' => '201903080023057792',
    'driverDataPassword' => '123456',

    'db2' => [
        // 数据库类型
        'type'            => 'mysql',
        // 服务器地址
        'hostname'        => \think\Env::get('inner'.ENV.'_hostname'),
        //'hostname'        => 'xm-vpc.mysql.polardb.rds.aliyuncs.com',
        //'hostname'        => '192.168.1.150',
        // 数据库名
        'database'        => 'devfranchisee',
        // 用户名
           'username'        => 'csxiaomachuxing',
        // 密码
        'password'        => 'xmcx@123456',
        // 端口
        'hostport'        => '3306',
        // 连接dsn
        'dsn'             => '',
        // 数据库连接参数
        'params'          => [],
        // 数据库编码默认采用utf8
        'charset'         => 'utf8',
        // 数据库表前缀
//        'prefix'          => \think\Env::get('inner'.ENV.'_prefix'),
        // 数据库调试模式
        'debug'           => true,
        // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
        'deploy'          => 0,
        // 数据库读写是否分离 主从式有效
        'rw_separate'     => false,
        // 读写分离后 主服务器数量
        'master_num'      => 1,
        // 指定从服务器序号
        'slave_no'        => '',
        // 是否严格检查字段是否存在
        'fields_strict'   => false,
        // 数据集返回类型
        'resultset_type'  => 'array',
        // 自动写入时间戳字段
        'auto_timestamp'  => false,
        // 时间字段取出后的默认时间格式
        'datetime_format' => 'Y-m-d H:i:s',
        // 是否需要进行SQL性能分析
        'sql_explain'     => false,
        // Builder类
        'builder'         => '',
        // Query类
        'query'           => '\\think\\db\\Query',
    ]
];
